import 'package:flutter/material.dart';
import 'package:open_source_china/constants/constants.dart';
import 'package:open_source_china/pages/HomePage/HomePage.dart';

void main() => runApp(MyApp());

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: "开源中国",
      theme: ThemeData(primaryColor: Color(AppColors.APP_THEME)),
      home: HomePage(title: "首页"),
    );
  }
}
